import Vue from 'vue';
import {
    common,
    dropdown,
    login,
    bank,
    sets,
    business,
    importApi,
    wx,
    banner
} from './login'
const api = {
    common,
    dropdown,
    login,
    importApi,
    bank,
    sets,
    business,
    wx,
    banner
};
const Api = {
    install(Vue, options) {
        Vue.api = api;
        window.api = api;
        Object.defineProperties(Vue.prototype, {
            api: {
                get() {
                    return api;
                }
            },

        });
    }
};
Vue.use(Api)
export default Api;